import request from '@/utils/request'

export function getOrderSetting() {
  return request({
    url: '/oms/orderSetting/get',
    method: 'get',
  })
}

export function updateOrderSetting(id, data) {
  return request({
    url: '/oms/orderSetting/update/' + id,
    method: 'get',
    params: data
  })
}
